package cn.hahah.module.blog.controller.admin.tag.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 博客系统标签新增/修改 Request VO")
@Data
public class TagSaveReqVO {

    @Schema(description = "标签编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "12332")
    private Long id;

    @Schema(description = "标签名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "标签名称不能为空")
    private String tname;

    @Schema(description = "标签颜色", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotEmpty(message = "标签颜色不能为空")
    private String cname;

    @Schema(description = "标签描述", requiredMode = Schema.RequiredMode.REQUIRED, example = "随便")
    @NotEmpty(message = "标签描述不能为空")
    private String description;

    @Schema(description = "创建者")
    private String creator;

}